
<!-- <form name="myform" id="myform" onsubmit="return validateCallback(this,dialogAjaxDone);"  action="{:U($module_name.'/'.$action_name)}" method="post"> -->
<!-- <div id="filelist" class="hide"></div> -->
<!-- <div class="error"><ul></ul></div> -->
<!-- <table cellpadding=0 cellspacing=0 class="table_form" width="100%"> -->
<!--     <tr> -->
<!--         <td width="15%" >调整状态:</td> -->
<!--         <td width="85%" id="box_{$r['field']}"> -->
<!--         <select name="type"> -->
<!--         <php>foreach($type as $k=>$v){</php> -->
<!--             <option value="{$k}">{$v['msg']}</option> -->
<!-- <php>}</php> -->
<!--         </select>	 -->
<!--         </td> -->
<!--     </tr> -->
<!--     <tr> -->
<!--         <td width="15%" >操作说明:</td> -->
<!--         <td width="85%" id="box_{$r['field']}"> -->
<!--         <textarea name="msg" rows="3" cols="35"></textarea> -->
<!--         </td> -->
<!--     </tr> -->
<!-- </table> -->
<!-- <div id="bootline"></div> -->
<!-- <div id="btnbox" class="btn"> -->
<!-- <input TYPE="hidden" name="id" value="{$_GET['id']}"> -->
<!-- <input type="hidden" name="act" value="submit"> -->
<!-- <INPUT type="submit"  value="{:L('提交')}" class="button" > -->
<!-- </div> -->
<!-- </form> -->



<form name="myform" id="myform" onsubmit="return validateCallback(this,dialogAjaxDone);"  action="{:U($module_name.'/'.$action_name)}" method="post">
		<div class="pageFormContent nowrap" layoutH="97">
			<dl>
				<dt>调整状态:</dt>
				<dd >
		 <select name="type">
        <php>foreach($type as $k=>$v){</php>
            <option value="{$k}">{$v['msg']}</option>
        <php>}</php>
        </select>	
				</dd>
			</dl>
			<dl>
				<dt>操作说明:</dt>
				<dd>
					 <textarea name="msg" rows="3" cols="35"></textarea>
				</dd>
			</dl>
					
		</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button id="save1" type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
					</li>
				</ul>
			</div>	
			
			<input TYPE="hidden" name="id" value="{$_GET['id']}">
				<input type="hidden" name="act" value="submit">	
	</form>
	
<script>
    cstop();
    //防止二次点击触发提交事件
    function cstop() {
        var btns = document.getElementById("save1");
        btns.clicks = 0;
        btns.onclick = function (e) {
            redown(this);
            if (btns.clicks == 0) {
                btns.clicks++;
            } else {
                e.preventDefault();
            }
        }
    }
    function redown(o) {
        var t = new Date();
        var nowt = t.getTime();
        t = null;
        if (o.times) {
            if (nowt - o.times > 3000) {
                o.clicks = 0;
            }
        }
        o.times = nowt;
    }
</script>